package cn.stylefeng.guns.dao;

import cn.stylefeng.guns.dao.entity.RuleSupplier;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author quspacedraon
 * @since 2024-01-13
 */
public interface IRuleSupplierService extends IService<RuleSupplier> {

    Boolean isExist(List<String> supplierIdList, String goodsId, Long startTime, Long endTime);

    List<RuleSupplier> getAvailableList(List<String> supplierIdList, List<String> goodsIdList, Long startTime, Long endTime);
}
